// src/api/user.js
import request from './http';


export function getZsInfo(data) {
  return request({
    url: `/system/investment/analysis`,
    method: 'POST',
    data
  });
}
export function getToken() {
  return request({
    url: `/system/login/loginApi`,
    method: 'POST',
  });
}


// 更新用户信息
export function getYyInfo(userId, data) {
  return request({
    url: `/users/${userId}`,
    method: 'get',
   
  });
}
export function getSldList( params) {
    return request({
      url: `/system/corp/getList`,
      method: 'post',
      params
     
    });
  }

  export function getOverview2( data) {
    return request({
      url: `/system/corp/getOverview2`,
      method: 'post',
      data
    });
  }
  export function NewGetOverview( data) {
    return request({
      url: `/system/oppo/NewGetOverview`,
      method: 'post',
      data
    });
  }
  export function getMeasureList( data) {
    return request({
      url: `system/park/getList`,
      method: 'post',
      data
    });
  }

  export function getParkOverview( data) {
    return request({
      url: `system/oppo/getParkOverview`,
      method: 'post',
      data
    });
  }
  export function getRoomListAll( data) {
    return request({
      url: `system/room/getRoomListAll`,
      method: 'post',
      data
    });
  }
  export function getYearMonthList( data) {
    return request({
      url: `system/room/getYearMonthList`,
      method: 'post',
      data
    });
  }

  export function getLeaseSurrender( data) {
    return request({
      url: `system/room/getLeaseSurrender`,
      method: 'post',
      data
    });
  }




